package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈昌吉
 * @since 2024-04-16
 */
@Data
//@EqualsAndHashCode(callSuper = false)
//@Accessors(chain = true)
//@TableName("script")
//@ApiModel(value="Script对象", description="")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Script implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "剧本文件ID")
    @TableId(value = "sid", type = IdType.AUTO)
    private Integer sid;

    @ApiModelProperty(value = "剧本文件路径")
    private String scriptFile;

    @ApiModelProperty(value = "状态（默认为待审核；审核员：审核通过，审核未通过；管理员：打回，合格）")
    private String state;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "发布作业ID")
    private Integer hid;

    @ApiModelProperty(value = "上传作业的时间")
    private LocalDateTime uploadtime;

    @ApiModelProperty(value = "分数")
    private String grade;

    @ApiModelProperty(value = "学生ID")
    private Integer loginId;
    @ApiModelProperty(value = "作业命名")
    private String name;
    //自己新增的
    @ApiModelProperty(value = "学号")
    private String sno;

    @ApiModelProperty(value = "学号")
    private String state1;

    @ApiModelProperty(value = "学号")
    private Integer pageIndex;

    @ApiModelProperty(value = "学号")
    private Integer pageSize;
}
